using System;
using System.Collections.Generic;
using System.Text;

namespace DTO
{
    public class CKHACHTHUEDTO
    {
        #region "Atributes"
        private int m_MaKhachThue;
        private string m_TenKhachThue;
        private DateTime m_NgaySinh;
        private string m_CMND;
        private string m_DiaChi;
        private string m_DienThoai;
        private string m_GioiTinh;
        private bool m_TinhTrang;
        private int m_MaLoaiKhachThue;
        private int m_MaPhieuThue;
        #endregion
        #region "Property"
        public int MaKhachThue
        {
            get { return m_MaKhachThue; }
            set { m_MaKhachThue = value; }
        }

        public string TenKhachThue
        {
            get { return m_TenKhachThue; }
            set { m_TenKhachThue = value; }
        }

        public DateTime NgaySinh
        {
            get { return m_NgaySinh; }
            set { m_NgaySinh = value; }
        }
        public string CMND
        {
            get { return m_CMND; }
            set { m_CMND = value; }
        }

        public string DiaChi
        {
            get { return m_DiaChi; }
            set { m_DiaChi = value; }
        }

        public string DienThoai
        {
            get { return m_DienThoai; }
            set { m_DienThoai = value; }
        }

        public string GioiTinh
        {
            get { return m_GioiTinh; }
            set { m_GioiTinh = value; }
        }

        public bool TinhTrang
        {
            get { return m_TinhTrang; }
            set { m_TinhTrang = value; }
        }


        public int MaLoaiKhachThue
        {
            get { return m_MaLoaiKhachThue; }
            set { m_MaLoaiKhachThue = value; }
        }

        public int MaPhieuThue
        {
            get { return m_MaPhieuThue; }
            set { m_MaPhieuThue = value; }
        }
        #endregion
        #region "Constructors"
        public CKHACHTHUEDTO()
        {
            MaKhachThue = 0;
            TenKhachThue = "";
            NgaySinh = DateTime.Parse("1 / 1 / 1900");
            CMND = "";
            DiaChi = "";
            DienThoai = "";
            GioiTinh = "Nam";
            TinhTrang = false;
            MaLoaiKhachThue = 0;
            MaPhieuThue = 0;
        }
        public CKHACHTHUEDTO(int maKhachThue, string tenKhachThue, DateTime ngaySinh, string cMND, string diaChi, string dienThoai, string gioiTinh, bool tinhTrang, int maLoaiKhachThue, int maPhieuThue)
        {
            MaKhachThue = maKhachThue;
            TenKhachThue = tenKhachThue;
            NgaySinh = ngaySinh;
            CMND = cMND;
            DiaChi = diaChi;
            DienThoai = dienThoai;
            GioiTinh = gioiTinh;
            TinhTrang = tinhTrang;
            MaLoaiKhachThue = maLoaiKhachThue;
            MaPhieuThue = maPhieuThue;
        }
        #endregion
    }
}
